<h1>
	{include file="../utils/pageUrl.tpl" pageKey="homepage"}
</h1>
{if $infoMessages}
	<div class="message">
		{$infoMessages}
	</div>
{/if}
{if !empty($errorMessages)}
	<div class="error">
		<strong>ОШИБКА</strong>: 
		{foreach from=$errorMessages item=entry}
			{if is_array($entry)}
				{foreach from=$entry item=message}
					{$message}
				{/foreach}
			{else}
				{$entry}
			{/if}
		{/foreach}
		<br />
	</div>
{/if}